home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hyper Stacks 1994 May
/
Hyper Stacks (Pacific HiTech)(1994)[Mac].iso
/
Science
/
Biology
/
WayeCas Folder
/
cassette-stack 3
/
background_2686.txt
< prev
next >
Wrap
Text File
|
1989-05-17
|
4KB
|
188 lines
-- background: 2686 from stack: in
-- bmap block id: 69421
-- flags: 0000
-- background id: 0
-- name:
----- HyperTalk script -----
-- part 1 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=405 top=209 right=275 bottom=512
-- title width / last selected line: 0
-- icon id / first selected line: 27056 / 27056
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: go to stack 1
----- HyperTalk script -----
on mouseUp
get word 3 of bkgnd field 3
if it is empty then
go to stack "cassette-stack 1"
else go to card id it of stack "cassette-stack 1"
--### you can put your own stack name here
end mouseUp
-- part 2 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=27 top=40 right=309 bottom=148
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 3 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=168 top=40 right=309 bottom=284
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 4 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=298 top=38 right=305 bottom=423
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 7 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=261 top=314 right=342 bottom=297
-- title width / last selected line: 0
-- icon id / first selected line: 1013 / 1013
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Next
----- HyperTalk script -----
on mouseUp
go to next card
end mouseUp
-- part 8 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=214 top=314 right=342 bottom=251
-- title width / last selected line: 0
-- icon id / first selected line: 1014 / 1014
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Prev
----- HyperTalk script -----
on mouseUp
go to previous card
end mouseUp
-- part 9 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=404 top=109 right=166 bottom=508
-- title width / last selected line: 0
-- icon id / first selected line: 7012 / 7012
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: go to stack 2
----- HyperTalk script -----
on mouseUp
GLOBAL IT
GET THE NUMBER OF CARD
put it into numberOfCards
global count
add 1 to count
get word one of field 1
if it is empty then
go to stack "cassette-stack 2"
exit mouseUp
else go to stack "cassette-stack 2" ---put count into bkgnd field "counter"
CHOOSE BUTTON TOOL
SET HILITE OF CARD BUTTON numberOfCards TO false
CHOOSE BROWSE TOOL
end mouseUp
-- part 10 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=405 top=23 right=70 bottom=509
-- title width / last selected line: 0
-- icon id / first selected line: 2507 / 2507
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: HELP
----- HyperTalk script -----
on mouseUp
get name of card
put it into card
go to stack "cassette-stack 2"
put item 1 of card into field 2 of card "help"
go to card "help"
end mouseUp
-- part 11 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=311 top=315 right=337 bottom=479
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: delete the first line
----- HyperTalk script -----
on mouseUp
delete line 1 of field 2
delete line 1 of field 3
end mouseUp